<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>个人中心</title>
    <link rel="shortcut icon" th:href="@{/favicon.ico}"/>
    <link rel="stylesheet" th:href="@{/static/bootstrap/css/bootstrap.min.css}">
    <link rel="stylesheet" th:href="@{/static/css/style2.css}">
    <script th:src="@{/static/js/jquery-3.3.1.min.js}"></script>
    <script th:src="@{/static/bootstrap/js/bootstrap.min.js}"></script>
    <link rel="stylesheet" th:href="@{/static/css/style4.css}" >
</head>
<body>
<!--顶部导航栏部分-->
<div th:replace="header::header1"></div>
<!-- 中间主体内容部分 -->
<div class="pageContainer">
    <!-- 左侧导航栏 -->
    <div class="pageSidebar">

<!--        <a th:href="@{toUpdateUser}" target="mainFrame" class="btn"><i class="glyphicon glyphicon-user"></i>修改用户信息</a><br/>-->
<!--        <a th:href="toAddTopicPage" target="mainFrame" class="btn"><i class="glyphicon glyphicon-edit"></i>发布帖子</a><br/>-->
<!--        <a th:href="@{'toUserUploadPage?id='+${session.user.getId()}}" target="mainFrame" class="btn"><i class="glyphicon glyphicon-edit"></i>文件上传</a><br/>-->
<!--        <a th:href="@{'toUserUploadVideo?id='+${session.user.getId()}}" target="mainFrame" class="btn"><i class="glyphicon glyphicon-edit"></i>视频上传</a><br/>-->
<!--        <a th:href="'getAllTopic?edituser='+${session.user.getUsername()}" target="mainFrame" class="btn"><i class="glyphicon glyphicon-tags"></i>帖子管理</a>-->
<!--        <a th:href="'getAllAnswerByName?answeruser='+${session.user.getUsername()}" target="mainFrame" class="btn"><i class="glyphicon glyphicon-edit"></i>留言管理</a>-->

        <ul class="nav nav-stacked nav-pills">
            <li role="presentation">
                <a href="#userSetting" class="nav nav-stacked nav-pills" data-toggle="collapse">
                    <i class="glyphicon glyphicon-cog"></i>
                    用户管理
                    <span class="pull-right glyphicon glyphicon-chevron-down"></span>
                </a>
            </li>
        </ul>
        <ul id="userSetting" class="nav nav-list collapse secondmenu" style="height: 0px;">
            <li><a th:href="@{toUpdateUser}" target="mainFrame" ><i class="glyphicon glyphicon-user"></i>修改用户信息</a></li>
            <li><a th:href="@{toUpdatePic}" target="mainFrame" ><i class="glyphicon glyphicon-user"></i>更改头像</a></li>
        </ul>
        <ul class="nav nav-stacked nav-pills">
            <li role="presentation">
                <a href="#sourceSetting" class="nav nav-stacked nav-pills" data-toggle="collapse">
                    <i class="glyphicon glyphicon-cog"></i>
                    资源管理
                    <span class="pull-right glyphicon glyphicon-chevron-down"></span>
                </a>
            </li>
        </ul>
        <ul id="sourceSetting" class="nav nav-list collapse secondmenu" style="height: 0px;">
            <li><a th:href="@{'toUserUploadPage?id='+${session.user.getId()}}" target="mainFrame" ><i class="glyphicon glyphicon-edit"></i>资料上传</a></li>
            <li><a th:href="@{'toUserUploadVideo?id='+${session.user.getId()}}" target="mainFrame" ><i class="glyphicon glyphicon-edit"></i>视频上传</a></li>
        </ul>
        <ul class="nav nav-stacked nav-pills">
            <li role="presentation">
                <a href="#hdSetting" class="nav nav-stacked nav-pills" data-toggle="collapse">
                    <i class="glyphicon glyphicon-cog"></i>
                    互动管理
                    <span class="pull-right glyphicon glyphicon-chevron-down"></span>
                </a>
            </li>
        </ul>
        <ul id="hdSetting" class="nav nav-list collapse secondmenu" style="height: 0px;">
            <li><a th:href="'getAllTopic?edituser='+${session.user.getUsername()}"  target="myFrameName"><i class="glyphicon glyphicon-user"></i>帖子管理</a></li>
            <li><a th:href="toAddTopicPage" target="myFrameName"><i class="glyphicon glyphicon-edit"></i>发布帖子</a></li>
            <li><a th:href="'getAllAnswerByName?answeruser='+${session.user.getUsername()}" target="mainFrame" ><i class="glyphicon glyphicon-list-alt"></i>留言管理</a></li>
            <li><a th:href="'getAllCommentByName?nickname='+${session.user.getUsername()}" target="mainFrame" ><i class="glyphicon glyphicon-list-alt"></i>评论管理</a></li>

        </ul>


    </div>
    <!-- 左侧导航和正文内容的分隔线 -->
    <div class="splitter"></div>
    <!-- 正文内容部分 -->
    <div class="pageContent">

        <h1>欢迎进入个人中心</h1>
    </div>
</div>
<!-- 底部页脚部分 -->
<div th:replace="footer::footer1"></div>
</body>
</html>